package cn.tedu.spring;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
// @ComponentScan
// @ComponentScan("cn")
// @ComponentScan("cn.tedu")

@ComponentScan("cn.tedu.spring")
// @ComponentScan({"cn.tedu.spring"})
// @ComponentScan(value = "cn.tedu.spring")
// @ComponentScan(value = {"cn.tedu.spring"})
// @ComponentScan(basePackages = "cn.tedu.spring")
// @ComponentScan(basePackages = {"cn.tedu.spring"})
public class SpringConfig {
    // 语义很重要
    // 设计大于需求
    // 所有的注解的意义或作用，都取决于运行环境或调用者
}
